<template>
  <div>
    <div ref="content" style="background: #fff;">
      <div class="select-auth">
        <router-link to="/user/personallyIdentifying" class="flex">
          <div><i class="icon icon-user1"></i></div>
          <div class="info">
            <p class="title">个人货主</p>
            <p class="text-gray">如果您是个体工商户、微商、个人，请选择个人货主</p>
          </div>
        </router-link>
      </div>
      <div class="select-auth flex-auto">
        <router-link to="/user/companyIdentifying" class="flex">
          <div><i class="icon icon-house"></i></div>
          <div class="info">
            <p class="title">企业货主</p>
            <p class="text-gray">如果您是生产企业，商贸企业、物流快递公司请选择企业货主</p>
          </div>
        </router-link>
      </div>
    </div>
  </div>
</template>
<script>
import PubHeader from '../../components/PubHeader.vue'
export default{
  components: {
    PubHeader
  },
  mounted() {
    const bodyHeight = document.documentElement.clientHeight
    const headerHeight = this.$refs['header'].offsetHeight
    const pensonHeight = bodyHeight - headerHeight
    this.$refs['content'].style.height = pensonHeight + 'px'
  }
}
</script>
<style scoped>
.select-auth{
  padding: 0rem 0.35rem; padding-top: 1.5rem;
}
.select-auth .icon{
  font-size: 0.6rem;
  height: 1.2rem;
  width: 1.2rem;
  text-align: center;
  line-height: 1.2rem;
  display: block;
  border-radius: 50%;
  border: 1px solid #ff5722;
  color: #ff5722;
  margin-right: 0.2rem;
}
</style>
